package cn.zebra.dev.other.module.discountsMember.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 *
 * @author runnable
 */
@TableName("discounts_member")
@Getter
@Setter
public class DiscountsMemberEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("优惠券id")
    private Long discountsId;

    @ApiModelProperty("优惠券编号")
    private String discountsSn;

    @ApiModelProperty("优惠券所有者id")
    private Long discountsUserId;

    @ApiModelProperty("优惠券使用情况0未使用1使用")
    private Integer discountsUserd;

    @ApiModelProperty("优惠券类型 1表示店铺类型 2 商品类型")
    private Integer discountsType;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("是否删除")
    private Boolean deteleFlag;

}
